<!-- saved from url=(0014)about:internet -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>MecGridDemo.mxml</title>
<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
</head>

<body><pre><span class="MXMLProcessing_Instruction">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;</span>
<span class="MXMLComponent_Tag">&lt;mx:Application</span><span class="MXMLDefault_Text"> xmlns:mx=&quot;</span><span class="MXMLString">http://www.adobe.com/2006/mxml</span><span class="MXMLDefault_Text">&quot; layout=&quot;</span><span class="MXMLString">vertical</span><span class="MXMLDefault_Text">&quot; xmlns:head=&quot;</span><span class="MXMLString">layout.*</span><span class="MXMLDefault_Text">&quot; creationComplete=&quot;</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">()</span><span class="MXMLDefault_Text">&quot; xmlns:MecGrid=&quot;</span><span class="MXMLString">com.mechan.MecGrid.*</span><span class="MXMLDefault_Text">&quot; xmlns:demo=&quot;</span><span class="MXMLString">demo.*</span><span class="MXMLDefault_Text">&quot; viewSourceURL=&quot;</span><span class="MXMLString">srcview/index.html</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
<span class="MXMLSpecial_Tag">&lt;mx:Script&gt;</span>
    <span class="ActionScriptOperator">&lt;!</span><span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptDefault_Text">CDATA</span><span class="ActionScriptBracket/Brace">[</span>
        <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">com</span>.<span class="ActionScriptDefault_Text">mechan</span>.<span class="ActionScriptDefault_Text">export</span>.<span class="ActionScriptDefault_Text">MecExporter</span>;
        <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span>.<span class="ActionScriptDefault_Text">collections</span>.<span class="ActionScriptDefault_Text">XMLListCollection</span>;
        <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span>.<span class="ActionScriptDefault_Text">collections</span>.<span class="ActionScriptDefault_Text">ArrayCollection</span>;
        <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span>.<span class="ActionScriptDefault_Text">core</span>.<span class="ActionScriptDefault_Text">Container</span>;
<span class="ActionScriptComment">// fast index
</span><span class="ActionScriptComment">//** tree navigator
</span>
        <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span>.<span class="ActionScriptDefault_Text">events</span>.<span class="ActionScriptDefault_Text">CloseEvent</span>;
        <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span>.<span class="ActionScriptDefault_Text">managers</span>.<span class="ActionScriptDefault_Text">PopUpManager</span>;
        <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span>.<span class="ActionScriptDefault_Text">utils</span>.<span class="ActionScriptDefault_Text">ByteArray</span>;
        <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span>.<span class="ActionScriptDefault_Text">controls</span>.<span class="ActionScriptDefault_Text">Alert</span>;
        <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span>.<span class="ActionScriptDefault_Text">utils</span>.<span class="ActionScriptDefault_Text">Base64Decoder</span>;
        <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span>.<span class="ActionScriptDefault_Text">utils</span>.<span class="ActionScriptDefault_Text">Base64Encoder</span>;
        
        <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">com</span>.<span class="ActionScriptDefault_Text">mechan</span>.<span class="ActionScriptDefault_Text">MecGrid</span>.<span class="ActionScriptOperator">*</span>;
        <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">com</span>.<span class="ActionScriptDefault_Text">mechan</span>.<span class="ActionScriptDefault_Text">MecGrid</span>.<span class="ActionScriptDefault_Text">mecGridClasses</span>.<span class="ActionScriptOperator">*</span>;
        
        <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span>
        <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Embed</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">source</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">&quot;/assets/export.png&quot;</span><span class="ActionScriptBracket/Brace">)]</span>
        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">exportIcon</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Class</span>;
        
        <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Embed</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">source</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">&quot;/assets/backgrounds.swf#bluestripe&quot;</span><span class="ActionScriptBracket/Brace">)]</span>
        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">bluestripe</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Class</span>;
        
        <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Embed</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">source</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">&quot;/assets/brushedMetal.jpg&quot;</span><span class="ActionScriptBracket/Brace">)]</span>
        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">brushedmetal</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Class</span>;
        
        <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Embed</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">source</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">&quot;/assets/backgrounds.swf#greenstripe&quot;</span><span class="ActionScriptBracket/Brace">)]</span>
        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">greenstripe</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Class</span>;
        
        <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Embed</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">source</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">&quot;/assets/backgrounds.swf#industrial&quot;</span><span class="ActionScriptBracket/Brace">)]</span>
        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">industrial</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Class</span>;
        
        <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Embed</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">source</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">&quot;/assets/backgrounds.swf#redstripe&quot;</span><span class="ActionScriptBracket/Brace">)]</span>
        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">redstripe</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Class</span>;
        
        <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Embed</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">source</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">&quot;/assets/backgrounds.swf#retroFifties&quot;</span><span class="ActionScriptBracket/Brace">)]</span>
        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">retroFifties</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Class</span>;
        
        <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Embed</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">source</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">&quot;/assets/backgrounds.swf#tartan&quot;</span><span class="ActionScriptBracket/Brace">)]</span>
        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">tartan</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Class</span>;
        
        <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span>
        <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Embed</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">source</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">&quot;/assets/disclose_close.png&quot;</span><span class="ActionScriptBracket/Brace">)]</span>
        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">arrowSide</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Class</span>;
        
        <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span>
        <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Embed</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">source</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">&quot;/assets/disclose_open.png&quot;</span><span class="ActionScriptBracket/Brace">)]</span>
        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">arrowDown</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Class</span>;
        
        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">cssbackgroundColor</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">&quot;&quot;</span>;
        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">cssbackgroundImage</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">&quot;&quot;</span>;
        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">cssthemeColor</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">&quot;&quot;</span>;
        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">csscolor</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">&quot;&quot;</span>;
        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">cssbackgroundGradientColors</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">&quot;&quot;</span>;
        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">cssbackgroundGradientAlphas</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">&quot;&quot;</span>;
        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">cssbackgroundSize</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">&quot;&quot;</span>;
        
        <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span>
        <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">treeNav</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">XMLListCollection</span>; 

        <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">()</span><span class="ActionScriptOperator">:</span><span class="ActionScriptReserved">void</span>
        <span class="ActionScriptBracket/Brace">{</span>
            <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">bgImage</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Array</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptBracket/Brace">[{</span><span class="ActionScriptDefault_Text">label</span><span class="ActionScriptOperator">:</span><span class="ActionScriptString">&quot;None&quot;</span><span class="ActionScriptBracket/Brace">}</span>,
                                <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span><span class="ActionScriptOperator">:</span><span class="ActionScriptString">&quot;bluestripe&quot;</span>, <span class="ActionScriptDefault_Text">data</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">bluestripe</span><span class="ActionScriptBracket/Brace">}</span>,
                                <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span><span class="ActionScriptOperator">:</span><span class="ActionScriptString">&quot;redstripe&quot;</span>, <span class="ActionScriptDefault_Text">data</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">redstripe</span><span class="ActionScriptBracket/Brace">}</span>,
                                <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span><span class="ActionScriptOperator">:</span><span class="ActionScriptString">&quot;greenstripe&quot;</span>, <span class="ActionScriptDefault_Text">data</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">greenstripe</span><span class="ActionScriptBracket/Brace">}</span>,
                                <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span><span class="ActionScriptOperator">:</span><span class="ActionScriptString">&quot;brushedmetal&quot;</span>, <span class="ActionScriptDefault_Text">data</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">brushedmetal</span><span class="ActionScriptBracket/Brace">}</span>,
                                <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span><span class="ActionScriptOperator">:</span><span class="ActionScriptString">&quot;industrial&quot;</span>, <span class="ActionScriptDefault_Text">data</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">industrial</span><span class="ActionScriptBracket/Brace">}</span>,
                                <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span><span class="ActionScriptOperator">:</span><span class="ActionScriptString">&quot;retroFifties&quot;</span>, <span class="ActionScriptDefault_Text">data</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">retroFifties</span><span class="ActionScriptBracket/Brace">}</span>,
                                <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span><span class="ActionScriptOperator">:</span><span class="ActionScriptString">&quot;tartan&quot;</span>, <span class="ActionScriptDefault_Text">data</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">tartan</span><span class="ActionScriptBracket/Brace">}]</span>;
            
            <span class="ActionScriptDefault_Text">mybackgroundImageapplication</span>.<span class="ActionScriptDefault_Text">dataProvider</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">bgImage</span>;
            <span class="ActionScriptDefault_Text">mybackgroundImageapplication</span>.<span class="ActionScriptDefault_Text">selectedIndex</span> <span class="ActionScriptOperator">=</span> 6;
            <span class="ActionScriptDefault_Text">StyleManager</span>.<span class="ActionScriptDefault_Text">getStyleDeclaration</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">&quot;Application&quot;</span><span class="ActionScriptBracket/Brace">)</span>.<span class="ActionScriptDefault_Text">setStyle</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">&quot;backgroundImage&quot;</span>, <span class="ActionScriptDefault_Text">retroFifties</span><span class="ActionScriptBracket/Brace">)</span>;
            <span class="ActionScriptDefault_Text">mybackgroundImageapplication</span>.<span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">&quot;change&quot;</span>, <span class="ActionScriptDefault_Text">changeBackgroundImage</span><span class="ActionScriptBracket/Brace">)</span>;
            
            <span class="ActionScriptDefault_Text">uiVersion</span>.<span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">MecGrid</span>.<span class="ActionScriptDefault_Text">VERSION</span>;
            
            <span class="ActionScriptDefault_Text">treeNav</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">XMLListCollection</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">treeNavData</span><span class="ActionScriptBracket/Brace">)</span>;
        <span class="ActionScriptBracket/Brace">}</span>

        <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">changeBackgroundImage</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">:</span><span class="ActionScriptReserved">void</span> 
        <span class="ActionScriptBracket/Brace">{</span>
            <span class="ActionScriptDefault_Text">StyleManager</span>.<span class="ActionScriptDefault_Text">getStyleDeclaration</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">&quot;Application&quot;</span><span class="ActionScriptBracket/Brace">)</span>.<span class="ActionScriptDefault_Text">setStyle</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">&apos;backgroundImage&apos;</span>, <span class="ActionScriptDefault_Text">mybackgroundImageapplication</span>.<span class="ActionScriptDefault_Text">selectedItem</span>.<span class="ActionScriptDefault_Text">data</span><span class="ActionScriptBracket/Brace">)</span>;
        <span class="ActionScriptBracket/Brace">}</span>
        
<span class="ActionScriptComment">//** tree navigator
</span>        <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">treeNavItemClickHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">MecGridEvent</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">:</span><span class="ActionScriptReserved">void</span>
        <span class="ActionScriptBracket/Brace">{</span>
            <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">renderer</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">CellRenderer</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">event</span>.<span class="ActionScriptDefault_Text">renderer</span>;
            
            <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">renderer</span> <span class="ActionScriptOperator">&amp;&amp;</span> <span class="ActionScriptDefault_Text">renderer</span>.<span class="ActionScriptDefault_Text">celldata</span><span class="ActionScriptBracket/Brace">)</span>
            <span class="ActionScriptBracket/Brace">{</span>
                <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">row</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">DimInfo</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">mgrid_menu</span>.<span class="ActionScriptDefault_Text">Rows</span>.<span class="ActionScriptDefault_Text">item</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">renderer</span>.<span class="ActionScriptDefault_Text">rowIndex</span><span class="ActionScriptBracket/Brace">)</span>;
                
                <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">row</span>.<span class="ActionScriptDefault_Text">IsTreeNode</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptReserved">true</span> <span class="ActionScriptOperator">&amp;&amp;</span> <span class="ActionScriptDefault_Text">row</span>.<span class="ActionScriptDefault_Text">treenode</span>.<span class="ActionScriptDefault_Text">node_level</span> <span class="ActionScriptOperator">==</span> 1<span class="ActionScriptBracket/Brace">)</span>
                <span class="ActionScriptBracket/Brace">{</span>
                    <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">page</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">row</span>.<span class="ActionScriptDefault_Text">data</span>.@<span class="ActionScriptDefault_Text">page</span>.<span class="ActionScriptDefault_Text">toString</span><span class="ActionScriptBracket/Brace">()</span>;
                    
                    <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">page</span> <span class="ActionScriptOperator">!=</span> <span class="ActionScriptString">&quot;&quot;</span> <span class="ActionScriptOperator">&amp;&amp;</span> <span class="ActionScriptDefault_Text">vprop</span>.<span class="ActionScriptDefault_Text">getChildByName</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">page</span><span class="ActionScriptBracket/Brace">))</span>
                        <span class="ActionScriptDefault_Text">vprop</span>.<span class="ActionScriptDefault_Text">selectedChild</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">vprop</span>.<span class="ActionScriptDefault_Text">getChildByName</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">page</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">Container</span>;
                        
                    <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">vprop</span>.<span class="ActionScriptDefault_Text">selectedChild</span> <span class="ActionScriptOperator">&amp;&amp;</span> <span class="ActionScriptDefault_Text">vprop</span>.<span class="ActionScriptDefault_Text">selectedChild</span>.<span class="ActionScriptDefault_Text">hasOwnProperty</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">&quot;mgrid&quot;</span><span class="ActionScriptBracket/Brace">))</span>
                        <span class="ActionScriptDefault_Text">btnExportExcel</span>.<span class="ActionScriptDefault_Text">visible</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">true</span>;
                    <span class="ActionScriptReserved">else</span>
                        <span class="ActionScriptDefault_Text">btnExportExcel</span>.<span class="ActionScriptDefault_Text">visible</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>;
                <span class="ActionScriptBracket/Brace">}</span>
            <span class="ActionScriptBracket/Brace">}</span>
        <span class="ActionScriptBracket/Brace">}</span>
        
        <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">changeTreeNavUIStyles</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">MecGridEvent</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">:</span><span class="ActionScriptReserved">void</span>
        <span class="ActionScriptBracket/Brace">{</span>
            <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">i</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">int</span>;
            <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">c</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Cell</span>;
            
            <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">hcs</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">CellStyle</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">mgrid_menu</span>.<span class="ActionScriptDefault_Text">gridCellStyle</span><span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptString">&quot;titlerow&quot;</span><span class="ActionScriptBracket/Brace">]</span>;
            
            <span class="ActionScriptReserved">for</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">i</span><span class="ActionScriptOperator">=</span>0; <span class="ActionScriptDefault_Text">i</span> <span class="ActionScriptOperator">&lt;</span> <span class="ActionScriptDefault_Text">mgrid_menu</span>.<span class="ActionScriptDefault_Text">Rows</span>.<span class="ActionScriptDefault_Text">count</span> <span class="ActionScriptOperator">-</span> 1; <span class="ActionScriptDefault_Text">i</span><span class="ActionScriptOperator">++</span><span class="ActionScriptBracket/Brace">)</span>
            <span class="ActionScriptBracket/Brace">{</span>
                <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">row</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">DimInfo</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">mgrid_menu</span>.<span class="ActionScriptDefault_Text">Rows</span>.<span class="ActionScriptDefault_Text">item</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">i</span><span class="ActionScriptBracket/Brace">)</span>;
                
                <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">row</span>.<span class="ActionScriptDefault_Text">visible</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptReserved">true</span><span class="ActionScriptBracket/Brace">)</span>
                <span class="ActionScriptBracket/Brace">{</span>
                    <span class="ActionScriptDefault_Text">c</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">mgrid_menu</span>.<span class="ActionScriptDefault_Text">get_cell</span><span class="ActionScriptBracket/Brace">(C</span><span class="ActionScriptDefault_Text">ellOp</span>.<span class="ActionScriptDefault_Text">GET_CELLINFO</span>, <span class="ActionScriptDefault_Text">i</span>, 0<span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">Cell</span>;
                    
                    <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">row</span>.<span class="ActionScriptDefault_Text">IsTreeNode</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptReserved">true</span> <span class="ActionScriptOperator">&amp;&amp;</span> <span class="ActionScriptDefault_Text">row</span>.<span class="ActionScriptDefault_Text">treenode</span>.<span class="ActionScriptDefault_Text">node_level</span> <span class="ActionScriptOperator">==</span> 0<span class="ActionScriptBracket/Brace">)</span>
                    <span class="ActionScriptBracket/Brace">{</span>
                        <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">c</span>.<span class="ActionScriptDefault_Text">cell_style</span>.<span class="ActionScriptDefault_Text">stylename</span> <span class="ActionScriptOperator">!=</span> <span class="ActionScriptString">&quot;titlerow&quot;</span><span class="ActionScriptBracket/Brace">)</span>
                        <span class="ActionScriptBracket/Brace">{</span>
                            <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">mgrid_menu</span>.<span class="ActionScriptDefault_Text">redraw</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptReserved">true</span><span class="ActionScriptBracket/Brace">)</span>
                                <span class="ActionScriptDefault_Text">mgrid_menu</span>.<span class="ActionScriptDefault_Text">redraw</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>;
                                
                            <span class="ActionScriptDefault_Text">c</span>.<span class="ActionScriptDefault_Text">cell_style</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">hcs</span>;
                            <span class="ActionScriptDefault_Text">mgrid_menu</span>.<span class="ActionScriptDefault_Text">get_cell</span><span class="ActionScriptBracket/Brace">(C</span><span class="ActionScriptDefault_Text">ellOp</span>.<span class="ActionScriptDefault_Text">GET_CELLINFO</span>, <span class="ActionScriptDefault_Text">i</span>, 1<span class="ActionScriptBracket/Brace">)</span>.<span class="ActionScriptDefault_Text">cell_style</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">hcs</span>;
                        <span class="ActionScriptBracket/Brace">}</span>
                    <span class="ActionScriptBracket/Brace">}</span>
                <span class="ActionScriptBracket/Brace">}</span>
            <span class="ActionScriptBracket/Brace">}</span>
            
            <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">mgrid_menu</span>.<span class="ActionScriptDefault_Text">redraw</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptReserved">false</span><span class="ActionScriptBracket/Brace">)</span>
            <span class="ActionScriptBracket/Brace">{</span>
                <span class="ActionScriptDefault_Text">mgrid_menu</span>.<span class="ActionScriptDefault_Text">redraw</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">true</span>;
            <span class="ActionScriptBracket/Brace">}</span>
        <span class="ActionScriptBracket/Brace">}</span>
        
        <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">exportToExcelFile</span><span class="ActionScriptBracket/Brace">()</span><span class="ActionScriptOperator">:</span><span class="ActionScriptReserved">void</span>
        <span class="ActionScriptBracket/Brace">{</span>
            <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">vprop</span>.<span class="ActionScriptDefault_Text">selectedChild</span> <span class="ActionScriptOperator">&amp;&amp;</span> <span class="ActionScriptDefault_Text">vprop</span>.<span class="ActionScriptDefault_Text">selectedChild</span>.<span class="ActionScriptDefault_Text">hasOwnProperty</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">&quot;mgrid&quot;</span><span class="ActionScriptBracket/Brace">))</span>
            <span class="ActionScriptBracket/Brace">{</span>
                <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">mgrid</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">MecGrid</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">Object</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">vprop</span>.<span class="ActionScriptDefault_Text">selectedChild</span><span class="ActionScriptBracket/Brace">)</span>.<span class="ActionScriptDefault_Text">mgrid</span>;
                
                <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">mgrid</span><span class="ActionScriptBracket/Brace">)</span>
                <span class="ActionScriptBracket/Brace">{</span>
                    <span class="ActionScriptReserved">try</span>
                    <span class="ActionScriptBracket/Brace">{</span>
                        <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">exp</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">MecExporter</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">MecExporter</span><span class="ActionScriptBracket/Brace">()</span>;
            
                        <span class="ActionScriptComment">// add MecGrid with sheetname
</span>                        <span class="ActionScriptDefault_Text">exp</span>.<span class="ActionScriptDefault_Text">AddDataGrid</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">mgrid</span>, <span class="ActionScriptString">&quot;&quot;</span><span class="ActionScriptBracket/Brace">)</span>;
                        <span class="ActionScriptComment">// exporting to binary data
</span>                        <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">ebt</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">ByteArray</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">exp</span>.<span class="ActionScriptDefault_Text">Export2BiffExcel</span><span class="ActionScriptBracket/Brace">()</span>;
                        
                        <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">b64encoder</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Base64Encoder</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Base64Encoder</span><span class="ActionScriptBracket/Brace">()</span>;
                        <span class="ActionScriptDefault_Text">b64encoder</span>.<span class="ActionScriptDefault_Text">encodeBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ebt</span><span class="ActionScriptBracket/Brace">)</span>;

                        <span class="ActionScriptDefault_Text">ExternalInterface</span>.<span class="ActionScriptDefault_Text">call</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">&quot;loadExcelFile&quot;</span>, <span class="ActionScriptDefault_Text">b64encoder</span>.<span class="ActionScriptDefault_Text">flush</span><span class="ActionScriptBracket/Brace">())</span>;
                    <span class="ActionScriptBracket/Brace">}</span>
                    <span class="ActionScriptReserved">catch</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Error</span><span class="ActionScriptBracket/Brace">)</span>
                    <span class="ActionScriptBracket/Brace">{</span>
                        <span class="ActionScriptDefault_Text">Alert</span>.<span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>.<span class="ActionScriptDefault_Text">message</span><span class="ActionScriptBracket/Brace">)</span>;
                    <span class="ActionScriptBracket/Brace">}</span>
                <span class="ActionScriptBracket/Brace">}</span>
            <span class="ActionScriptBracket/Brace">}</span>
        <span class="ActionScriptBracket/Brace">}</span>
    <span class="ActionScriptBracket/Brace">]]</span><span class="ActionScriptOperator">&gt;</span>
<span class="MXMLSpecial_Tag">&lt;/mx:Script&gt;</span>
<span class="MXMLSpecial_Tag">&lt;mx:Style</span><span class="MXMLDefault_Text"> source=&quot;</span><span class="MXMLString">css/MecStyle.css</span><span class="MXMLDefault_Text">&quot; </span><span class="MXMLSpecial_Tag">/&gt;</span>
<span class="MXMLSpecial_Tag">&lt;mx:XMLList</span><span class="MXMLDefault_Text"> id=&quot;</span><span class="MXMLString">treeNavData</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLSpecial_Tag">&gt;</span>
    <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> category=&quot;</span><span class="MXMLString">DataGrid Features</span><span class="MXMLDefault_Text">&quot; item=&quot;</span><span class="MXMLString">DataGrid Features</span><span class="MXMLDefault_Text">&quot; blank=&quot;</span><span class="MXMLString"> </span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
        <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> item=&quot;</span><span class="MXMLString">Large data</span><span class="MXMLDefault_Text">&quot; page=&quot;</span><span class="MXMLString">demo_largedata</span><span class="MXMLDefault_Text">&quot; desc=&quot;</span><span class="MXMLString">Large data with small memory footprint and fast drawing.</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> item=&quot;</span><span class="MXMLString">Data Filtering</span><span class="MXMLDefault_Text">&quot; page=&quot;</span><span class="MXMLString">demo_datafilter</span><span class="MXMLDefault_Text">&quot; desc=&quot;</span><span class="MXMLString">Data Filtering with various column data type.</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> item=&quot;</span><span class="MXMLString">Tree View</span><span class="MXMLDefault_Text">&quot; page=&quot;</span><span class="MXMLString">demo_treeview</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> item=&quot;</span><span class="MXMLString">Event Viewer</span><span class="MXMLDefault_Text">&quot; page=&quot;</span><span class="MXMLString">demo_event</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> item=&quot;</span><span class="MXMLString">Sorting</span><span class="MXMLDefault_Text">&quot; page=&quot;</span><span class="MXMLString">demo_sorting</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> item=&quot;</span><span class="MXMLString">Drag &amp;amp; Drop</span><span class="MXMLDefault_Text">&quot; page=&quot;</span><span class="MXMLString">demo_dragdrop</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> item=&quot;</span><span class="MXMLString">Dynamic Add Row/Col</span><span class="MXMLDefault_Text">&quot; page=&quot;</span><span class="MXMLString">demo_dynamic</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> item=&quot;</span><span class="MXMLString">Clipboard Copy</span><span class="MXMLDefault_Text">&quot; page=&quot;</span><span class="MXMLString">demo_clipboard</span><span class="MXMLDefault_Text">&quot; desc=&quot;</span><span class="MXMLString">Data Filtering with various column data type.</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>    
    <span class="MXMLComponent_Tag">&lt;/node&gt;</span>
    <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> category=&quot;</span><span class="MXMLString">OLAP Analysis</span><span class="MXMLDefault_Text">&quot; item=&quot;</span><span class="MXMLString">OLAP Analysis</span><span class="MXMLDefault_Text">&quot; blank=&quot;</span><span class="MXMLString"> </span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
        <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> item=&quot;</span><span class="MXMLString">Pivoting</span><span class="MXMLDefault_Text">&quot; page=&quot;</span><span class="MXMLString">demo_olappivoting</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
    <span class="MXMLComponent_Tag">&lt;/node&gt;</span>
    <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> category=&quot;</span><span class="MXMLString">SPREADSHEET</span><span class="MXMLDefault_Text">&quot; item=&quot;</span><span class="MXMLString">SPREADSHEET</span><span class="MXMLDefault_Text">&quot; blank=&quot;</span><span class="MXMLString"> </span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
        <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> item=&quot;</span><span class="MXMLString">SpreadSheet Indexing</span><span class="MXMLDefault_Text">&quot; page=&quot;</span><span class="MXMLString">demo_spreadsheet</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> item=&quot;</span><span class="MXMLString">Calculator</span><span class="MXMLDefault_Text">&quot; page=&quot;</span><span class="MXMLString">demo_formula</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
    <span class="MXMLComponent_Tag">&lt;/node&gt;</span>
    <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> category=&quot;</span><span class="MXMLString">SUMMARY</span><span class="MXMLDefault_Text">&quot; item=&quot;</span><span class="MXMLString">SUMMARY</span><span class="MXMLDefault_Text">&quot; blank=&quot;</span><span class="MXMLString"> </span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
        <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> item=&quot;</span><span class="MXMLString">Sub totals</span><span class="MXMLDefault_Text">&quot; page=&quot;</span><span class="MXMLString">demo_subtotal</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> item=&quot;</span><span class="MXMLString">Grand totals</span><span class="MXMLDefault_Text">&quot; page=&quot;</span><span class="MXMLString">demo_grandtotal</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
    <span class="MXMLComponent_Tag">&lt;/node&gt;</span>
    <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> category=&quot;</span><span class="MXMLString">Sample Report</span><span class="MXMLDefault_Text">&quot; item=&quot;</span><span class="MXMLString">Sample Report</span><span class="MXMLDefault_Text">&quot; blank=&quot;</span><span class="MXMLString"> </span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
        <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> item=&quot;</span><span class="MXMLString">Freeze Row &amp;amp; Column</span><span class="MXMLDefault_Text">&quot; page=&quot;</span><span class="MXMLString">demo_freeze</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> item=&quot;</span><span class="MXMLString">Cell Style</span><span class="MXMLDefault_Text">&quot; page=&quot;</span><span class="MXMLString">demo_cellstyle</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> item=&quot;</span><span class="MXMLString">Editing Cell</span><span class="MXMLDefault_Text">&quot; page=&quot;</span><span class="MXMLString">demo_editing</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
    <span class="MXMLComponent_Tag">&lt;/node&gt;</span>
    <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> category=&quot;</span><span class="MXMLString">Entertainment</span><span class="MXMLDefault_Text">&quot; item=&quot;</span><span class="MXMLString">Entertainment</span><span class="MXMLDefault_Text">&quot; blank=&quot;</span><span class="MXMLString"> </span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
        <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> item=&quot;</span><span class="MXMLString">Grid MineSweep</span><span class="MXMLDefault_Text">&quot; page=&quot;</span><span class="MXMLString">demo_minesweep</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
    <span class="MXMLComponent_Tag">&lt;/node&gt;</span>
    <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> category=&quot;</span><span class="MXMLString">Map</span><span class="MXMLDefault_Text">&quot; item=&quot;</span><span class="MXMLString">Map</span><span class="MXMLDefault_Text">&quot; blank=&quot;</span><span class="MXMLString"> </span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
        <span class="MXMLComponent_Tag">&lt;node</span><span class="MXMLDefault_Text"> item=&quot;</span><span class="MXMLString">Korea</span><span class="MXMLDefault_Text">&quot; page=&quot;</span><span class="MXMLString">demo_map_korea</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
    <span class="MXMLComponent_Tag">&lt;/node&gt;</span>
<span class="MXMLSpecial_Tag">&lt;/mx:XMLList&gt;</span>

<span class="MXMLComponent_Tag">&lt;mx:VBox</span><span class="MXMLDefault_Text"> horizontalAlign=&quot;</span><span class="MXMLString">left</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; verticalGap=&quot;</span><span class="MXMLString">5</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
    <span class="MXMLComponent_Tag">&lt;mx:HBox</span><span class="MXMLDefault_Text"> verticalAlign=&quot;</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
        <span class="MXMLComponent_Tag">&lt;mx:Image</span><span class="MXMLDefault_Text"> source=&quot;</span><span class="MXMLString">@Embed(&apos;assets/fseLogo.png&apos;)</span><span class="MXMLDefault_Text">&quot; </span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;mx:Label</span><span class="MXMLDefault_Text"> text=&quot;</span><span class="MXMLString">MecGrid DEMO</span><span class="MXMLDefault_Text">&quot; styleName=&quot;</span><span class="MXMLString">styleExplorerTitle</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
            <span class="MXMLComponent_Tag">&lt;mx:filters&gt;</span>
                  <span class="MXMLComponent_Tag">&lt;flash.filters:DropShadowFilter</span><span class="MXMLDefault_Text"> xmlns:flash.filters=&quot;</span><span class="MXMLString">flash.filters.*</span><span class="MXMLDefault_Text">&quot; angle=&quot;</span><span class="MXMLString">90</span><span class="MXMLDefault_Text">&quot; blurX=&quot;</span><span class="MXMLString">5</span><span class="MXMLDefault_Text">&quot; blurY=&quot;</span><span class="MXMLString">5</span><span class="MXMLDefault_Text">&quot;
                       distance=&quot;</span><span class="MXMLString">2</span><span class="MXMLDefault_Text">&quot; alpha=&quot;</span><span class="MXMLString">.3</span><span class="MXMLDefault_Text">&quot; color=&quot;</span><span class="MXMLString">0x000000</span><span class="MXMLDefault_Text">&quot; </span><span class="MXMLComponent_Tag">/&gt;</span>
              <span class="MXMLComponent_Tag">&lt;/mx:filters&gt;</span>
        <span class="MXMLComponent_Tag">&lt;/mx:Label&gt;</span>
        <span class="MXMLComponent_Tag">&lt;mx:Box</span><span class="MXMLDefault_Text"> height=&quot;</span><span class="MXMLString">20</span><span class="MXMLDefault_Text">&quot; verticalAlign=&quot;</span><span class="MXMLString">bottom</span><span class="MXMLDefault_Text">&quot; </span><span class="MXMLComponent_Tag">&gt;</span>
            <span class="MXMLComponent_Tag">&lt;mx:Label</span><span class="MXMLDefault_Text"> id=&quot;</span><span class="MXMLString">uiVersion</span><span class="MXMLDefault_Text">&quot; text=&quot;</span><span class="MXMLDefault_Text">&quot; fontFamily=&quot;</span><span class="MXMLString">Myriad</span><span class="MXMLDefault_Text">&quot; color=&quot;</span><span class="MXMLString">#FFFFFF</span><span class="MXMLDefault_Text">&quot; fontSize=&quot;</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">&quot; </span><span class="MXMLComponent_Tag">/&gt;</span>    
        <span class="MXMLComponent_Tag">&lt;/mx:Box&gt;</span>
        <span class="MXMLComponent_Tag">&lt;mx:Box</span><span class="MXMLDefault_Text"> width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; horizontalAlign=&quot;</span><span class="MXMLString">right</span><span class="MXMLDefault_Text">&quot; verticalAlign=&quot;</span><span class="MXMLString">bottom</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
            <span class="MXMLComponent_Tag">&lt;mx:ComboBox</span><span class="MXMLDefault_Text"> id=&quot;</span><span class="MXMLString">mybackgroundImageapplication</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;/mx:Box&gt;</span>
    <span class="MXMLComponent_Tag">&lt;/mx:HBox&gt;</span>    
<span class="MXMLComponent_Tag">&lt;/mx:VBox&gt;</span>
<span class="MXMLComponent_Tag">&lt;mx:HDividedBox</span><span class="MXMLDefault_Text"> width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
    <span class="MXMLComponent_Tag">&lt;mx:Canvas</span><span class="MXMLDefault_Text"> width=&quot;</span><span class="MXMLString">180</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; id=&quot;</span><span class="MXMLString">box1</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
        <span class="MXMLComponent_Tag">&lt;mx:Box</span><span class="MXMLDefault_Text"> width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; styleName=&quot;</span><span class="MXMLString">fseControlBar</span><span class="MXMLDefault_Text">&quot; </span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;mx:Box</span><span class="MXMLDefault_Text"> width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; styleName=&quot;</span><span class="MXMLString">fseControlBar</span><span class="MXMLDefault_Text">&quot; backgroundAlpha=&quot;</span><span class="MXMLString">1</span><span class="MXMLDefault_Text">&quot; </span><span class="MXMLComponent_Tag">&gt;</span>
            <span class="MXMLComponent_Tag">&lt;mx:filters&gt;</span>
                  <span class="MXMLComponent_Tag">&lt;flash.filters:BevelFilter</span><span class="MXMLDefault_Text"> xmlns:flash.filters=&quot;</span><span class="MXMLString">flash.filters.*</span><span class="MXMLDefault_Text">&quot; angle=&quot;</span><span class="MXMLString">90</span><span class="MXMLDefault_Text">&quot; blurX=&quot;</span><span class="MXMLString">1</span><span class="MXMLDefault_Text">&quot; blurY=&quot;</span><span class="MXMLString">1</span><span class="MXMLDefault_Text">&quot;
                       distance=&quot;</span><span class="MXMLString">1</span><span class="MXMLDefault_Text">&quot; highlightAlpha=&quot;</span><span class="MXMLString">.4</span><span class="MXMLDefault_Text">&quot; shadowAlpha=&quot;</span><span class="MXMLString">.4</span><span class="MXMLDefault_Text">&quot; highlightColor=&quot;</span><span class="MXMLString">0x000000</span><span class="MXMLDefault_Text">&quot; shadowColor=&quot;</span><span class="MXMLString">0xFFFFFF</span><span class="MXMLDefault_Text">&quot; knockout=&quot;</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">&quot; </span><span class="MXMLComponent_Tag">/&gt;</span>
              <span class="MXMLComponent_Tag">&lt;/mx:filters&gt;</span>
        <span class="MXMLComponent_Tag">&lt;/mx:Box&gt;</span>
    <span class="MXMLComment">&lt;!--</span><span class="MXMLComment"> 
    //********************//
    //   STYLE CONTROLS   //
    //********************//
    </span><span class="MXMLComment">--&gt;</span>
   <span class="MXMLComponent_Tag">&lt;mx:VBox</span><span class="MXMLDefault_Text"> width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
        <span class="MXMLComponent_Tag">&lt;head:GlassHeaders</span><span class="MXMLDefault_Text"> headerTitle=&quot;</span><span class="MXMLString">FEATURES</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
    
        <span class="MXMLComponent_Tag">&lt;mx:Canvas</span><span class="MXMLDefault_Text"> width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; verticalScrollBarStyleName=&quot;</span><span class="MXMLString">fseVerticalScrollBar</span><span class="MXMLDefault_Text">&quot;
                horizontalScrollPolicy=&quot;</span><span class="MXMLString">off</span><span class="MXMLDefault_Text">&quot; label=&quot;</span><span class="MXMLString">Accordion</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
                
            <span class="MXMLComponent_Tag">&lt;mx:Box</span><span class="MXMLDefault_Text"> width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; paddingBottom=&quot;</span><span class="MXMLString">3</span><span class="MXMLDefault_Text">&quot; paddingLeft=&quot;</span><span class="MXMLString">3</span><span class="MXMLDefault_Text">&quot; paddingRight=&quot;</span><span class="MXMLString">3</span><span class="MXMLDefault_Text">&quot; borderStyle=&quot;</span><span class="MXMLString">none</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
                <span class="MXMLComponent_Tag">&lt;MecGrid:MecGrid</span><span class="MXMLDefault_Text"> id=&quot;</span><span class="MXMLString">mgrid_menu</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; dataProvider=&quot;</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">treeNav</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">&quot; borderStyle=&quot;</span><span class="MXMLString">none</span><span class="MXMLDefault_Text">&quot; itemClicked=&quot;</span><span class="ActionScriptDefault_Text">treeNavItemClickHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">&quot; drawCompleted=&quot;</span><span class="ActionScriptDefault_Text">changeTreeNavUIStyles</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
                    <span class="MXMLComponent_Tag">&lt;MecGrid:ResourceXML&gt;</span>
                        <span class="MXMLSpecial_Tag">&lt;mx:XML</span><span class="MXMLDefault_Text"> xmlns=&quot;</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLSpecial_Tag">&gt;</span>
<span class="MXMLProcessing_Instruction">&lt;List&gt;
  &lt;option cols=&quot;2&quot; fixedrows=&quot;0&quot; fixedcols=&quot;0&quot; extendlastcol=&quot;false&quot; merge_option=&quot;0&quot; merge_option_fixedcolumn=&quot;0&quot; merge_option_fixedrow=&quot;0&quot; showspreadsheet=&quot;F&quot; selectionmode=&quot;17&quot; sortoption=&quot;0&quot; treeview=&quot;T&quot; treeColumn=&quot;0&quot; textalignment=&quot;10&quot; textalignment_fixed=&quot;10&quot;/&gt;
  &lt;columns&gt;
    &lt;column name=&quot;col_0&quot; datafield=&quot;@blank&quot; visible=&quot;T&quot; editable=&quot;F&quot; colindex=&quot;0&quot; autowidth=&quot;F&quot; width=&quot;25&quot; datatype=&quot;5&quot; textalign=&quot;4&quot; textalign_fixed=&quot;4&quot; formatstring=&quot;&quot; merge=&quot;F&quot; style=&quot;ImageColumn&quot; enablefilter=&quot;T&quot; header=&quot;null&quot;/&gt;
    &lt;column name=&quot;col_1&quot; datafield=&quot;@item&quot; visible=&quot;T&quot; editable=&quot;F&quot; colindex=&quot;1&quot; autowidth=&quot;T&quot; width=&quot;61&quot; datatype=&quot;5&quot; textalign=&quot;4&quot; textalign_fixed=&quot;4&quot; formatstring=&quot;&quot; merge=&quot;F&quot; style=&quot;&quot; enablefilter=&quot;T&quot; header=&quot;null&quot;/&gt;
  &lt;/columns&gt;
  &lt;styles&gt;
    &lt;style name=&quot;ImageColumn&quot; backcolor1=&quot;13260&quot; backcolor2=&quot;16777215&quot; backalpha1=&quot;0.5&quot; backalpha2=&quot;0.2&quot; bordercolor=&quot;12566463&quot; borderthickness=&quot;0&quot; bt_top=&quot;0&quot; bt_bottom=&quot;0&quot; bt_left=&quot;0&quot; bt_right=&quot;0&quot; fontstyle=&quot;0&quot; forecolor=&quot;0&quot; fontsize=&quot;10&quot;/&gt;
    &lt;style name=&quot;titlerow&quot; backcolor1=&quot;16764057&quot; backcolor2=&quot;16777215&quot; backalpha1=&quot;0.4&quot; backalpha2=&quot;0.4&quot; bordercolor=&quot;12566463&quot; borderthickness=&quot;0&quot; bt_top=&quot;0&quot; bt_bottom=&quot;0&quot; bt_left=&quot;0&quot; bt_right=&quot;0&quot; fontstyle=&quot;1&quot; forecolor=&quot;0&quot; fontsize=&quot;10&quot;/&gt;
    &lt;style name=&quot;normal&quot; backcolor1=&quot;16777215&quot; backcolor2=&quot;16777215&quot; backalpha1=&quot;0.4&quot; backalpha2=&quot;0.4&quot; bordercolor=&quot;12566463&quot; borderthickness=&quot;0&quot; bt_top=&quot;0&quot; bt_bottom=&quot;0&quot; bt_left=&quot;0&quot; bt_right=&quot;0&quot; fontstyle=&quot;0&quot; forecolor=&quot;0&quot; fontsize=&quot;10&quot;/&gt;
    &lt;style name=&quot;filter&quot; backcolor1=&quot;16317653&quot; backcolor2=&quot;15066597&quot; backalpha1=&quot;1&quot; backalpha2=&quot;1&quot; bordercolor=&quot;12566463&quot; borderthickness=&quot;1&quot; bt_top=&quot;1&quot; bt_bottom=&quot;1&quot; bt_left=&quot;1&quot; bt_right=&quot;1&quot; fontstyle=&quot;2&quot; forecolor=&quot;0&quot; fontsize=&quot;10&quot;/&gt;
    &lt;style name=&quot;spreadsheet&quot; backcolor1=&quot;16317653&quot; backcolor2=&quot;15066597&quot; backalpha1=&quot;1&quot; backalpha2=&quot;1&quot; bordercolor=&quot;6710886&quot; borderthickness=&quot;1&quot; bt_top=&quot;1&quot; bt_bottom=&quot;1&quot; bt_left=&quot;1&quot; bt_right=&quot;1&quot; fontstyle=&quot;0&quot; forecolor=&quot;0&quot; fontsize=&quot;10&quot;/&gt;
    &lt;style name=&quot;subtotal&quot; backcolor1=&quot;16317653&quot; backcolor2=&quot;15066597&quot; backalpha1=&quot;1&quot; backalpha2=&quot;1&quot; bordercolor=&quot;12566463&quot; borderthickness=&quot;1&quot; bt_top=&quot;1&quot; bt_bottom=&quot;1&quot; bt_left=&quot;1&quot; bt_right=&quot;1&quot; fontstyle=&quot;2&quot; forecolor=&quot;0&quot; fontsize=&quot;10&quot;/&gt;
    &lt;style name=&quot;fixedrow&quot; backcolor1=&quot;15066597&quot; backcolor2=&quot;15066597&quot; backalpha1=&quot;1&quot; backalpha2=&quot;1&quot; bordercolor=&quot;6710886&quot; borderthickness=&quot;1&quot; bt_top=&quot;1&quot; bt_bottom=&quot;1&quot; bt_left=&quot;1&quot; bt_right=&quot;1&quot; fontstyle=&quot;0&quot; forecolor=&quot;0&quot; fontsize=&quot;10&quot;/&gt;
    &lt;style name=&quot;fixedcolumn&quot; backcolor1=&quot;16317653&quot; backcolor2=&quot;15066597&quot; backalpha1=&quot;1&quot; backalpha2=&quot;1&quot; bordercolor=&quot;6710886&quot; borderthickness=&quot;1&quot; bt_top=&quot;1&quot; bt_bottom=&quot;1&quot; bt_left=&quot;1&quot; bt_right=&quot;1&quot; fontstyle=&quot;0&quot; forecolor=&quot;0&quot; fontsize=&quot;10&quot;/&gt;
  &lt;/styles&gt;
&lt;/List&gt;</span>
                        <span class="MXMLSpecial_Tag">&lt;/mx:XML&gt;</span>
                    <span class="MXMLComponent_Tag">&lt;/MecGrid:ResourceXML&gt;</span>
                <span class="MXMLComponent_Tag">&lt;/MecGrid:MecGrid&gt;</span>
            <span class="MXMLComponent_Tag">&lt;/mx:Box&gt;</span>
           <span class="MXMLComponent_Tag">&lt;/mx:Canvas&gt;</span>
   <span class="MXMLComponent_Tag">&lt;/mx:VBox&gt;</span>
    <span class="MXMLComponent_Tag">&lt;/mx:Canvas&gt;</span>

    <span class="MXMLComponent_Tag">&lt;mx:VBox</span><span class="MXMLDefault_Text"> height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; paddingLeft=&quot;</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">&quot; paddingRight=&quot;</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">&quot;  </span><span class="MXMLComponent_Tag">&gt;</span>
    
        <span class="MXMLComponent_Tag">&lt;mx:VBox</span><span class="MXMLDefault_Text"> height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; styleName=&quot;</span><span class="MXMLString">glassPods</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
            <span class="MXMLComponent_Tag">&lt;mx:HBox</span><span class="MXMLDefault_Text"> width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; horizontalGap=&quot;</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
                <span class="MXMLComponent_Tag">&lt;head:GlassHeaders</span><span class="MXMLDefault_Text"> headerTitle=&quot;</span><span class="MXMLString">EXAMPLES</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                <span class="MXMLComponent_Tag">&lt;mx:Button</span><span class="MXMLDefault_Text"> id=&quot;</span><span class="MXMLString">btnExportExcel</span><span class="MXMLDefault_Text">&quot; label=&quot;</span><span class="MXMLString">Save as Excel</span><span class="MXMLDefault_Text">&quot; icon=&quot;</span><span class="MXMLString">@Embed(&apos;assets/excel_export.gif&apos;)</span><span class="MXMLDefault_Text">&quot; visible=&quot;</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">&quot; click=&quot;</span><span class="ActionScriptDefault_Text">exportToExcelFile</span><span class="ActionScriptBracket/Brace">()</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
            <span class="MXMLComponent_Tag">&lt;/mx:HBox&gt;</span>
        <span class="MXMLComment">&lt;!--</span><span class="MXMLComment"> 
        //********************//
        //   SANDBOX          //
        //********************//
        </span><span class="MXMLComment">--&gt;</span>
            <span class="MXMLComponent_Tag">&lt;mx:ViewStack</span><span class="MXMLDefault_Text"> id=&quot;</span><span class="MXMLString">vprop</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
                <span class="MXMLComponent_Tag">&lt;mx:Canvas</span><span class="MXMLDefault_Text"> width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                <span class="MXMLComponent_Tag">&lt;demo:MecGridSubTotal</span><span class="MXMLDefault_Text"> name=&quot;</span><span class="MXMLString">demo_subtotal</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                <span class="MXMLComponent_Tag">&lt;demo:MecGridMineSweep</span><span class="MXMLDefault_Text"> name=&quot;</span><span class="MXMLString">demo_minesweep</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                <span class="MXMLComponent_Tag">&lt;demo:MecGridLargeData</span><span class="MXMLDefault_Text"> name=&quot;</span><span class="MXMLString">demo_largedata</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                <span class="MXMLComponent_Tag">&lt;demo:MecGridFiltering</span><span class="MXMLDefault_Text"> name=&quot;</span><span class="MXMLString">demo_datafilter</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                <span class="MXMLComponent_Tag">&lt;demo:MecGridForOLAP</span><span class="MXMLDefault_Text"> name=&quot;</span><span class="MXMLString">demo_olappivoting</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                <span class="MXMLComponent_Tag">&lt;demo:MecGridGrandTotal</span><span class="MXMLDefault_Text"> name=&quot;</span><span class="MXMLString">demo_grandtotal</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                <span class="MXMLComponent_Tag">&lt;demo:MecGridTreeView</span><span class="MXMLDefault_Text"> name=&quot;</span><span class="MXMLString">demo_treeview</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                <span class="MXMLComponent_Tag">&lt;demo:MecGridDragDrop</span><span class="MXMLDefault_Text"> name=&quot;</span><span class="MXMLString">demo_dragdrop</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                <span class="MXMLComponent_Tag">&lt;demo:MecMapKorea</span><span class="MXMLDefault_Text"> name=&quot;</span><span class="MXMLString">demo_map_korea</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                <span class="MXMLComponent_Tag">&lt;demo:MecGridSorting</span><span class="MXMLDefault_Text"> name=&quot;</span><span class="MXMLString">demo_sorting</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                <span class="MXMLComponent_Tag">&lt;demo:MecGridEventViewer</span><span class="MXMLDefault_Text"> name=&quot;</span><span class="MXMLString">demo_event</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                <span class="MXMLComponent_Tag">&lt;demo:MecGridClipboard</span><span class="MXMLDefault_Text"> name=&quot;</span><span class="MXMLString">demo_clipboard</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                <span class="MXMLComponent_Tag">&lt;demo:MecGridFreeze</span><span class="MXMLDefault_Text"> name=&quot;</span><span class="MXMLString">demo_freeze</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                <span class="MXMLComponent_Tag">&lt;demo:MecGridCellStyle</span><span class="MXMLDefault_Text"> name=&quot;</span><span class="MXMLString">demo_cellstyle</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                <span class="MXMLComponent_Tag">&lt;demo:MecGridFormula</span><span class="MXMLDefault_Text"> name=&quot;</span><span class="MXMLString">demo_formula</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                <span class="MXMLComponent_Tag">&lt;demo:MecGridSpreadSheet</span><span class="MXMLDefault_Text"> name=&quot;</span><span class="MXMLString">demo_spreadsheet</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                <span class="MXMLComponent_Tag">&lt;demo:MecGridDynamicColumn</span><span class="MXMLDefault_Text"> name=&quot;</span><span class="MXMLString">demo_dynamic</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
            <span class="MXMLComponent_Tag">&lt;/mx:ViewStack&gt;</span>
        <span class="MXMLComponent_Tag">&lt;/mx:VBox&gt;</span>
    <span class="MXMLComponent_Tag">&lt;/mx:VBox&gt;</span>

<span class="MXMLComponent_Tag">&lt;/mx:HDividedBox&gt;</span>

<span class="MXMLComponent_Tag">&lt;mx:HBox</span><span class="MXMLDefault_Text"> width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">26</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
    <span class="MXMLComponent_Tag">&lt;mx:LinkButton</span><span class="MXMLDefault_Text"> label=&quot;</span><span class="MXMLString">Copyright (c) 2008 MECHAN. All Rights Reserved</span><span class="MXMLDefault_Text">&quot; 
        click=&quot;</span><span class="ActionScriptDefault_Text">navigateToURL</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">URLRequest</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">&apos;http://code.google.com/p/flexspreadsheet/&apos;</span><span class="ActionScriptBracket/Brace">))</span>;<span class="MXMLDefault_Text">&quot;
        styleName=&quot;</span><span class="MXMLString">footerLink</span><span class="MXMLDefault_Text">&quot; alpha=&quot;</span><span class="MXMLString">0.2</span><span class="MXMLDefault_Text">&quot;
        </span><span class="MXMLComponent_Tag">/&gt;</span>
    <span class="MXMLComponent_Tag">&lt;mx:Spacer</span><span class="MXMLDefault_Text"> width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; </span><span class="MXMLComponent_Tag">/&gt;</span>
    <span class="MXMLComponent_Tag">&lt;mx:LinkButton</span><span class="MXMLDefault_Text"> label=&quot;</span><span class="MXMLString">Created by MECHAN</span><span class="MXMLDefault_Text">&quot; 
        click=&quot;</span><span class="ActionScriptDefault_Text">navigateToURL</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">URLRequest</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">&apos;mailto:mechan93@gmail.com&apos;</span><span class="ActionScriptBracket/Brace">))</span>;<span class="MXMLDefault_Text">&quot;
        styleName=&quot;</span><span class="MXMLString">footerLink</span><span class="MXMLDefault_Text">&quot;
        textDecoration=&quot;</span><span class="MXMLString">underline</span><span class="MXMLDefault_Text">&quot; alpha=&quot;</span><span class="MXMLString">0.2</span><span class="MXMLDefault_Text">&quot;
        </span><span class="MXMLComponent_Tag">/&gt;</span>
<span class="MXMLComponent_Tag">&lt;/mx:HBox&gt;</span>
<span class="MXMLComponent_Tag">&lt;/mx:Application&gt;</span></pre></body>
</html>
